package com.helloscala.model

import org.joda.time.DateTime

import MyPostgresJodaSupport._
import MyPostgresDriver.simple._

import com.helloscala.helper.HelloHelpers

/**
 * Created by yangjing on 14-1-18.
 */
object Models {
  private val dbConf = HelloHelpers.config.dbs.head
  implicit val db = Database.forURL(dbConf.url, dbConf.username, dbConf.password, driver = "org.postgresql.Driver")

}
